<?php
$user = new User();
$display_all = $user->find_all();
?>
<div>
	<table>
		<thead>
			<tr>
				<td>username</td>
				<td>password</td>
				<td></td>
				<td></td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($display_all as $values): ?>
			<tr>
				<?php $id = $values['id']; ?>
				<td><?php echo $values['username']; ?></td>
				<td><?php echo $values['username']; ?></td>
				<td><a href="index.php?action=update&id=<?php echo $values['id']; ?>">Update</a></td>
				<td><a href="index.php?action=delete&id=<?php echo $values['id']; ?>">Delete</a></td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	
	
	
	</table>


</div>